/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Metier;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Lâm
 */
public class Lieu implements Descriptable {

    private String libelle;
    private Integer id;
    private String texte;
    private String carte;
    private List<String> images = new ArrayList<>();
    private List<String> hypertexte = new ArrayList<>();
    private List<String> References = new ArrayList<>();
    private List<POI> list_POI = new ArrayList<>();
    private String url;


    public Lieu(){
        
    }
    
    public Lieu(String libelle, String carte){
        this.libelle = libelle;
        this.carte = carte;   
    }
    
    
    public Lieu(String libelle, String texte, List<String> hypertexte, List<String> images){
       this.libelle = libelle;
       this.texte = texte;
       this.hypertexte = hypertexte;
       this.images = images;
       
   }
       public Lieu(String libelle, String texte, String url, String carte){
       this.libelle = libelle;
       this.texte = texte;
       this.url = url;
       this.carte = carte;
       
   }

    public Lieu(String libelle, Integer id, String carte) {
        this.libelle = libelle;
        this.id = id;
        this.carte = carte;
    }


    public List<POI> getList_POI() {
        return list_POI;
    }

    public void setList_POI(List<POI> list_POI) {
        this.list_POI = list_POI;
    }

    public String getCarte() {
        return carte;
    }

    public void setCarte(String carte) {
        this.carte = carte;
    }

    @Override
    public List<String> getLiens() {
        return hypertexte;
    }

    @Override
    public List<String> getImages() {
        return images;
    }

    @Override
    public List<String> getReference() {
        return References;
    }

    @Override
    public String getTexte() {
        return texte;
    }

    @Override
    public void setTexte(String texte) {
        this.texte = texte;
    }

    @Override
    public void setHypertexte(List<String> hypertexte) {
        this.hypertexte = hypertexte;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setLibelle(String libelle) {
        this.libelle = libelle;
    }

    @Override
    public String getLibelle() {
        return libelle;
    }

    @Override
    public void setImages(List<String> Images) {
        this.images = Images;
    }

    @Override
    public void setReferences(List<String> References) {
        this.References = References;
    }

    @Override
    public void addImage(String image) {
        images.add(image);
    }

    @Override
    public void addReference(String Reference) {
        References.add(Reference);
    }

    @Override
    public void addLien(String Lien) {
        hypertexte.add(Lien);

    }
    @Override
    public List<String> getHypertexte() {
        return null;
    }

    /**
     * @return the cheminimg
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url the cheminimg to set
     */
    public void setUrl(String url) {
        this.url = url;
    }
    
}
